<nav class="navbar navbar-default met-nav navbar-fixed-top" role="navigation">
    <div class="ey-head">
        <div class="container">
            <div class="row">
                <div class="col-xs-6 col-sm-6 logo">
                    <ul class="list-none">
                        <li><a href="{eju:global name='web_cmsurl' /}" class="ey-logo"><img src="{eju:global name='web_logo'/}" style="max-height: 60px;" /></a></li>
                        <li><a href="{$eju.field.NewDateUrl}">问答中心</a></li>
                    </ul>
                </div>
                <div class="col-xs-6 col-sm-6 user-info">
                    <ol class="breadcrumb pull-right">
                        {eju:eq name="$users['users_id']" value='0'}
                        <li><a href="{eju:url link='user/Users/login' /}" title="登录">登录</a></li>
                        <li><a href="{eju:url link='user/Users/reg' /}" title="注册">注册</a></li>
                        {eju:else/}
                        <li><a href="{eju:url link='user/Users/centre' /}">{$users.nickname}</a></li>
                        <li><a href="{eju:url link='user/Users/logout' /}" title="退出登录">退出登录</a></li>
                        {/eju:eq}
                    </ol>
                    <button type="button" class="hamburger animated fadeInLeft is-closed" data-toggle="offcanvas">
                    <span class="hamb-top"></span>
                    <span class="hamb-middle"></span>
                    <span class="hamb-bottom"></span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</nav>